package com.campus.app.service;

import com.campus.commons.entity.Notification;
import com.baomidou.mybatisplus.extension.service.IService;
import com.campus.commons.utils.MyPage;
import com.campus.commons.utils.Result;

import java.util.List;

/**
 * <p>
 * 消息【一些通知消息】表 服务类
 * </p>
 *
 * @author Rin
 * @since 2021-01-25
 */
public interface NotificationsService extends IService<Notification> {
    /**
     * 获取所有消息
     * @param myPage
     * @return
     */
    Result<List<Notification>> getAllNotifications(MyPage myPage);
}
